﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Range : MonoBehaviour
{
        [Header("所在的区域编号")]
        public int area;
        [Header("所在区域内的ID")]
        public int id = 0;

        void Start()
        {
                this.transform.gameObject.SetActive(false);
                Debug.Log("隐藏");
        }

        public void SetRange(double n)
        {
                Debug.Log("显示");
                this.transform.gameObject.SetActive(true);
                Vector3 sa = new Vector3((float)n, (float)n, (float)n);
                this.transform.localScale = sa;
        }
}
